package com.zoo.boot.service;

import com.zoo.boot.model.LDepartments;

import java.util.List;

/**
 * 部门管理 Service
 * @Author: WangB
 * @Date: 2021/4/11
 */
public interface DepartmentService {

    List<LDepartments> list(LDepartments dept);

    List<LDepartments> getDeptList();

    boolean add(LDepartments dept);

    boolean batchDelete(List<String> ids);

    LDepartments  getDeptByCode(String deptCode);

    boolean updateDeptByCode(LDepartments department);

    boolean deleteDeptById(String deptCode);



}
